package com.leo.customer.service

import com.leo.customer.entity.pojo.Organize
import org.springframework.data.domain.Page
import org.springframework.data.domain.Sort

interface OrganizeService {

    fun createOrEditOrganize(organize: Organize): Organize?

    fun organizeList(pageNum: Int, size: Int, sort: Sort = Sort.unsorted()): Page<Organize>

    fun getOrganize(id: Int): Organize?
}
